//
//  ViewController.m
//  222
//
//  Created by zxl02 on 2020/8/3.
//  Copyright © 2020 CordovaDemo. All rights reserved.
//

#import "ViewController.h"
#import "dog.h"
@interface ViewController ()
@property(nonatomic)id<IFly>sss;
@property(nonatomic)id<IFly>aaa;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSLog(@"运行成功");
    
    _sss =[dog new];
    [_sss fly:@"1111"];
    
    _aaa =[man new];
    [_aaa fly:@"2222"];
    
}
@end
